﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CrystalDecisions.Shared;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Windows.Forms;

namespace App.reports
{
    public partial class ReportForm : Form
    {
        ReportClass _Reporte;
        public ReportClass Reporte
        {
            get
            {
                return _Reporte;
            }
            set
            {
                _Reporte = value;
                crystalReportViewer1.ReportSource = _Reporte;
                crystalReportViewer1.Refresh();
            }
        }

        public ReportForm()
        {
            InitializeComponent();
        }
    }
}

